home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_cyrus-sasl.idb
/
usr
/
freeware
/
catman
/
p_man
/
cat3
/
sasl_server_start.Z
/
sasl_server_start
Wrap
Text File
|
2001-07-06
|
3KB
|
133 lines
sasl_server_start(26 March 2000) sasl_server_start(26 March 2000)
NNAAMMEE
sasl_server_start - Begin an authentication negotiation
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssaassll..hh>>
iinntt ssaassll__sseerrvveerr__ssttaarrtt((ssaassll__ccoonnnn__tt ** _c_o_n_n,,
ccoonnsstt cchhaarr ** _m_e_c_h,,
ccoonnsstt cchhaarr ** _c_l_i_e_n_t_i_n,,
uunnssiiggnneedd ** _c_l_i_e_n_t_i_n_l_e_n,,
cchhaarr **** _s_e_r_v_e_r_o_u_t,,
uunnssiiggnneedd ** _s_e_r_v_e_r_o_u_t_l_e_n,,
ccoonnsstt cchhaarr **** _e_r_r_s_t_r));;
DDEESSCCRRIIPPTTIIOONN
ssaassll__sseerrvveerr__ssttaarrtt(()) begins the authentication with the
mechanism specified with mech. This fails if the mechanism
is not supported. SASL_OK is returned if the authentica
tion is complete and the user is authenticated. SASL_CON
TINUE is returned if one or more steps are still required
in the authentication. All other return values indicate
failure.
_c_o_n_n the SASL context for this connection _m_e_c_h the mecha
nism name that the client requested _c_l_i_e_n_t_i_n client ini
tial response, NULL if empty _c_l_i_e_n_t_i_n_l_e_n length of initial
response _s_e_r_v_e_r_o_u_t is created by the library. It is the
initial server response to send to the client. This is
allocated for by the library and it is the job of the
client to send it over the network to the server. Also
protocal specific encoding (such as base64 encoding) must
needs to be done by the server. _s_e_r_v_e_r_o_u_t_l_e_n length of
initial server challenge _e_r_r_s_t_r is set to a string to send
to the user on failure
RREETTUURRNN VVAALLUUEE
sasl_server_start returns an integer which corresponds to
one of the following codes. SASL_CONTINUE indicates sucess
and that there are more steps needed in the authentica
tion. All other return codes indicate errors and should
either be handled or the authentication session should be
quit.
EERRRROORRSS
SSAASSLL__CCOONNTTIINNUUEE
Success. keep going.
SASL man pages SASL 1
sasl_server_start(26 March 2000) sasl_server_start(26 March 2000)
SSAASSLL__IINNTTEERRAACCTT
user interaction needed to fill in prompt_need
list
SSAASSLL__BBAADDVVEERRSS
Mechanism version mismatch
SSAASSLL__BBAADDPPAARRAAMM
error in config file
SSAASSLL__NNOOMMEEMM
not enough memory to complete operation
CCOONNFFOORRMMIINNGG TTOO
RFC 2222
SSEEEE AALLSSOO
ootthheerrsaslssttuuffff
SASL man pages SASL 2